<template>
    <div>
      <div class="back-top">
        <a href="#" @click="goTop"></a>
      </div>
    </div>
</template>

<script>

    export default {
        data() {
            return {}
        },
        methods: {
          goTop(){
           this.$emit('goTop');
          }
        }
    }
</script>

<style scoped rel='stylesheet/scss' lang='scss'>
  .back-top a {
    right: 20px;
    background: #1c1e25 url("../common/images/back-top.png") no-repeat center center;
  }

</style>
